package edu.xhu.test.oss.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "bili.oss")
public class BiliOssConfigProperties {
    /**
     * minio相关
     */
    @Value("${alioss.endpoint}")
    private String endpoints;
    @Value("${alioss.access-key}")
    private String accessKey;
    @Value("${alioss.secret-key}")
    private String secretKey;
    @Value("${alioss.video-bucket}")
    private String videoBucket;
    @Value("${alioss.chunk-bucket}")
    private String chunkBucket;
    @Value("${alioss.image-bucket}")
    private String imageBucket;

    @Value("${alioss.video-bucketUrl}")
    private String videoBucketUrl;
    @Value("${alioss.chunk-bucketUrl}")
    private String chunkBucketUrl;
    @Value("${alioss.image-bucketUrl}")
    private String imageBucketUrl;

    private String readPath;

}
